package com.fafu.rbac.controller;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fafu.common.web.controller.BaseController;
import com.fafu.rbac.domain.entity.UserRole;
import com.fafu.rbac.service.UserRoleService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
* (tb_user_role)表控制层
*
* @author hc
*/
@RestController
@RequestMapping("/userRole")
public class UserRoleController extends BaseController<UserRole> {

    @Resource
    private UserRoleService userRoleService;

    public UserRoleController(IService<UserRole> service) {
        super(service);
    }
}
